<div class="tab-bar">
    <div class="attend_nav_tabbar">
        <% 
        var menu = menus;
        menu.forEach(function(tab, index) {
        %>
        <div class="attend_nav_tab
        <%  if ( selectedTab == tab.name ) {%>
            selected
        <%  } %>
        "><a href="<%=tab.url%>"><%=tab.description%></a></div>

        <%  if ( index != menu.length - 1 ) { %>
        <div class="attend_nav_line"></div>
        <%  
            } 
            else {
        %>
        <div style="clear: both"></div>
        <% 
            }
        });%>
    </div>
</div>
